<?php
use think\facade\Db;

Db::setConfig([
    'default'     => 'mysql',
    'connections' => [
        'mysql' => [
            'type'     => 'mysql',
            'hostname' => '127.0.0.1',
            'database' => 'jiangxi_heyuanpi',
            'username' => 'jiangxi_heyuanpi',
            'password' => 'Czc8j2DjbpmijcEp',
            'charset'  => 'utf8',
            'prefix'   => '',
            'debug'    => false,
        ],
    ]
]);